package com.pucong.gitee.database.backup.business.service.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("文件信息返回vo")
public class ServiceFileVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("类型 0目录  1文件")
    private boolean isFile;

    @ApiModelProperty("文件后缀")
    private String fileFix;

    @ApiModelProperty("文件大小")
    private long fileSize;

    @ApiModelProperty("上次修改时间")
    private Date lastUpdateTime;

    @ApiModelProperty("是否有子文件 0没有  1有")
    private boolean hasChildren;
}